<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/jsp/include/taglib.jsp"%>
<%@ include file="/jsp/include/headlist.jsp"%>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Untitled Document</title>
<link rel="stylesheet" href="${ctxStatic}/css/list.css" />
<!--[if IE 6.0]>
           <script src="js/iepng.js" type="text/javascript"></script>
           <script type="text/javascript">
                EvPNG.fix('div, ul, ol, img, li, input, span, a, h1, h2, h3, h4, h5, h6, p, dl, dt');
           </script>
       <![endif]-->

<script>
var selectedCatalog = null;
//selectedCatalog.parentCode;

var zTreeobj = null;
function onCatalogSelected(treeNode,ztree){
	$("#cardList").attr('src','${ctx}/card/list?lv=-1&pType=catalog&resourceType=${param.resourceType}&pId='+treeNode.nid+'&pCode='+treeNode.parentCode);
	selectedCatalog = treeNode;
	zTreeobj=ztree;
}
function addNode(){
	alert('c');
	//$('#catalogList').contents().addNode();  
}

function refresh(url){
	$("#cardList").attr('src',url);
}
</script>
<style>
body,html{
	height:100%;
}
</style>
</head>

<body class="bg-color">
  <div class="list-tree" style="overflow:hidden;">
  	<iframe id="catalogList" src="${ctx}/jsp/catalog/catalogList.jsp?type=card&resourceType=${param.resourceType}&resourceCode=${param.resourceCode}" width="100%" height="100%" frameborder="0" marginheight="0" marginwidth="0"></iframe>
  </div>
  <div class="list-right-list" style="overflow:hidden;">
	<iframe src="" width="100%" height="100%" id="cardList" frameborder="0" marginheight="0" marginwidth="0"></iframe>
  </div>
</body>
</html>
